<?

echo CHtml::form(Yii::app()->request->hostInfo.Yii::app()->createUrl('/search/index'),'POST');
echo CHtml::textField('text',$text);
echo CHtml::submitButton('Найти');
echo CHtml::endForm();

if(!$text){
    $this->renderPartial('notIssetQuery');
}else{
    $this->renderPartial('issetQuery',array(
        'categories'=>$categories,
        'items' => $items,
        'manufacturers' => $manufacturers,
        'pages' => $pages,
        'contents' => $contents,
        'text' => $text,
    ));
}
?>